package transaction.controller;

import org.springframework.context.annotation.AnnotationConfigApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;
import transaction.service.UserService;

/**
 * @author： pang-yun
 * @date： 2021-12-03 10:38
 * 功能目的 ：用于
 */

public class UserTest {
    public static void main(String[] args) {
        ClassPathXmlApplicationContext context = new ClassPathXmlApplicationContext("transaction.xml");
        UserService userService = context.getBean("userService", UserService.class);
        userService.transfer();
    }
}
